#pragma once

#include "sys/IInterface.h"
#include "ServiceID.h"

interface IServiceManager : public IInterface
{
	DEFINE_IID(IID_ServiceManager)

	virtual void RegisterServiceProvider(const String& service,vclsid clsidServiceProvider) = 0;
	virtual void ReplaceServiceProvider(const String& service,vclsid clsidServiceProvider) = 0;
	virtual IObject* GetServiceProvider(const String& service) const = 0;
};

